package com.github.phoenics.bazooka.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.google.common.collect.Lists;

import java.util.List;

/**
 * @author Phoenics Chow
 * on 2019年01月26日
 */
public class Teacher {
    private static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(Teacher.class);
    @TableId(type = IdType.ID_WORKER)
    private Long id;
    private String tName;
    private String redme;
    private boolean look;
    @TableField(exist = false)
    private List<Student> studentList=Lists.newArrayList();

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    public String getRedme() {
        return redme;
    }

    public void setRedme(String redme) {
        this.redme = redme;
    }


    public List<Student> getStudentList() {
        return studentList;
    }

    public boolean isLook() {
        return look;
    }

    public void setLook(boolean look) {
        this.look = look;
    }
}
